package com.test.common.utils;

import com.test.common.entity.system.User;
import org.apache.shiro.SecurityUtils;

public class SystemUtils {

    public static User getUser() {
        return (User) SecurityUtils.getSubject().getPrincipal();
    }
}
